From 3f707ff6553a178905b2478971b9e44a0bd0efb2 Mon Sep 17 00:00:00 2001 From: Luc Teirlinck Date: Fri, 16 Jul 2004 18:37:19 +0000 Subject: [PATCH] (Regexp Backslash): Document new \_< and \_> operators. From Jim Blandy. --- lispref/searching.texi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/lispref/searching.texi b/lispref/searching.texi index 4a2703fd640..fd0d0e172a0 100644 --- a/lispref/searching.texi +++ b/lispref/searching.texi @@ -666,6 +666,19 @@ word-constituent character follows. matches the empty string, but only at the end of a word. @samp{\>} matches at the end of the buffer (or string) only if the contents end with a word-constituent character. + +@item \_< +@cindex @samp{\_<} in regexp +matches the empty string, but only at the beginning of a symbol. A +symbol is a sequence of one or more word or symbol constituent +characters. @samp{\_<} matches at the beginning of the buffer (or +string) only if a symbol-constituent character follows. + +@item \_> +@cindex @samp{\_>} in regexp +matches the empty string, but only at the end of a symbol. @samp{\_>} +matches at the end of the buffer (or string) only if the contents end +with a symbol-constituent character. @end table @kindex invalid-regexp -- 2.30.2